package com.ssy.lingxi.pay.api.common;

import com.ssy.lingxi.common.language.LanguageHolder;

/**
 * e账户状态类型
 * @author jw.chen
 * @version 2.0.0
 * @date 2021/12/10
 */
public enum EAccountStatusEnum {

    Unfreeze(1, "解冻"),
    freeze(2, "冻结");

    private Integer code;

    EAccountStatusEnum(Integer code, String message) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return LanguageHolder.getName(this.getClass(), this.code);
    }
}
